package com.tedu.ds.customer.service;

import com.tedu.ds.customer.pojo.dto.CustomerLoginParam;
import com.tedu.ds.customer.pojo.dto.CustomerParam;
import com.tedu.ds.customer.pojo.dto.CustomerQuery;
import com.tedu.ds.customer.pojo.entity.Customer;
import com.tedu.ds.customer.pojo.vo.CustomerVO;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface CustomerService {
    void save(CustomerParam customerParam);

    void deleteById(Long id);

    List<CustomerVO> select(CustomerQuery customerQuery);

    CustomerVO login(CustomerLoginParam login);

    CustomerVO selectByUsername(String username);
}
